package com.neuedu.nas.back.casback.pojo.com;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class CommonResult<T>{
    private int code;
    private String message;
    private T data;

    CommonResult(int code,String message){
        this(code,message,null);
    }

}
